package com.huanghwh.sync.core.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @Author: huanghwh
 * @Date: 2021/12/22 11:28
 * @Description: 同步结果实体
 */
@Data
public class SyncResult implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 记录总条数
     */
    private int total;

    /**
     * 成功条数
     */
    private int successNum;

    /**
     * 失败条数
     */
    private int failNum;


    @Override
    public String toString() {
        return "total: " + total + " ,success: " + successNum +" ,fail: " + failNum;
    }
}
